function DMS = Deg2Dms(DD)
    
    D = fix(DD);
    %[deg]Value of degrees.
    
    a = (DD - D) * 60;
    %[arcmin]Constant.
    
    M = fix(a);
    %[arcmin]Value of arcminutes.
    
    S = (a - M) * 60;
    %[arcsec]Value of arcseconds.
    
    DMS = [D, M, S];
    %[deg,arcmin,arcsec]Angle in degrees, arcminutes, and arcseconds.
    
end
%===================================================================================================